import { defineConfig } from 'weapp-vite/config'
import { UnifiedViteWeappTailwindcssPlugin as uvwt } from 'weapp-tailwindcss/vite'

export default defineConfig({
  build: {
    sourcemap: true
  },
  weapp: {
    // weapp-vite options
    srcRoot: "./miniprogram",
  },

  plugins: [
    uvwt({
      rem2rpx: true
    })
  ]
})
